#////////////////////////////////////////////////////////////////////////////
#//
#// Author      : Luis M. de la Cruz Salas
#// Last Mod.   : Thu Oct 14 14:32:11 CDT 2010
#//
#////////////////////////////////////////////////////////////////////////////
#//
#// Name        :  Makefile
#////////////////////////////////////////////////////////////////////////////

include	../../tuna-cfd-rules.in

all :	test2D test3D track_line track_plane track_line_mixing track_plane_mixing 

test2D: test2D.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

test2D.o: test2D.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<

test3D: test3D.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

test3D.o: test3D.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<

track_line: track_line.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

track_line.o: track_line.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<

track_plane: track_plane.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

track_plane.o: track_plane.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<

track_line_mixing: track_line_mixing.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

track_line_mixing.o: track_line_mixing.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<

track_plane_mixing: track_plane_mixing.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

track_plane_mixing.o: track_plane_mixing.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $<


clean:
	/bin/rm -f *.o *.ii *~ $(TARGETS) test2D test3D track_line track_plane track_line_mixing track_plane_mixing
